<template>
  <el-dialog title="秘钥信息" :visible.sync="visible" width="500px" append-to-body :close-on-click-modal="false"
    class="overflow_dialog no_footer_dialog">
    <el-form label-width="100px" v-if="result.data">
      <!-- <el-form-item label="激活时间:">
        {{ result.data.createTime }}
      </el-form-item> -->
      <el-form-item label="到期时间:">
        {{ result.data.expireTime }}
      </el-form-item>
      <!-- <el-form-item label="到期剩余天数:">
        {{ result.data.activeDays }}天
      </el-form-item> -->
    </el-form>
  </el-dialog>
</template>

<script>
export default {
  name: 'SecretKeyInfo',
  data() {
    return {
      result: {},
      visible: false
    };
  },
  computed: {},
  created() {
  },
  methods: {
    open(result) {
      this.result = result;
      console.info(result);
      this.visible = true;
    }
  }
};
</script>

<style lang="scss" scoped></style>
